﻿<#import "/common/function.ftl" as fn>
<@fn.header _title="">
</@fn.header>
<body style="width:100%" class="list">
	<h2><img src="${base}/resources/style/images/iconDivM.gif" width="16" height="16" />用户管理</h2>
	<div id="validateErrorContainer" class="validateErrorContainer marginTop15" style="display:none;">
		<div class="validateErrorTitle">以下信息填写有误,请重新填写</div>
		<ul></ul>
	</div>
	<div class="title marginTop15">
		<div class="title-middle">
			<div class="title-left"></div>
			<div class="title-caption">用户详细信息</div>
            <div class="title-right"></div>
		</div>
	</div>
	<input type="hidden" name="id" value="${(user.id)!}"/>
	<table class="table3" id="userListTable">
		<tr><th>用户名</th><td>${(user.username)!}</td></tr>
		<tr><th>姓名</th><td>${(user.name)!}</td></tr>
		<tr><th>电话</th><td>${(user.tel)!}</td></tr>
		<tr><th>地址</th><td>${(user.address)!}</td></tr>
		<tr><th>邮箱</th><td>${(user.email)!}</td></tr>
		<tr><th>所属角色</th><td><#list rolesList as role><#list ids as id><#if id==role.id>${role.name}&nbsp;&nbsp;</#if></#list> </#list></td></tr>
		<tr><th>行政区域</th>
			<td>
				<#list regionList as region>
					<#if user!=null><#if user.region.id == region.id>${region.name}&nbsp;&nbsp;</#if></#if>
				</#list>
			</td>
		</tr>
		<tr><th>账号是否可用</th><td><#if user!=null><#if user.enabled>是</#if></#if><#if user!=null><#if !user.enabled>否</#if></#if></td></tr>
		</tr>
	</table>
	<input type="button" class="button" value="返 回" onclick="javascript:history.go(-1);" />
</body>
</html>
